1
general::
Also, turn the trick. Bring about a desired result, succeed. For example, One more turn with the wrench should do the trick, or Bill wanted to finish all the errands in one day but he couldn't quite turn the trick. The first expression dates from the early 1800s; the variant, from the first half of the 1900s, should not be confused with TURN A TRICK.
American Heritage Idioms
2
general::
Phrase(s): do the trick
to do exactly what is needed. • This new paint scraper really does the trick. • Is this envelope large enough to do the trick?
McGrawhill's American Idioms And Phrasal Verbs